﻿using Gp.Scripts.Core;

namespace Gp.Scripts.Core
{
    public partial class Event_Unit
    {
        public class Select : Event_Unit { }

        public class Deselect : Event_Unit { }

        public class Highlight : Event_Unit { }

        public class DeHighlight : Event_Unit { }


        /// <summary>
        /// 单位的战斗开始事件，作用域仅为单位内部
        /// </summary>
        public class BattleStart : Event_Unit { }

        /// <summary>
        /// 单位的战斗结束事件，作用域仅为单位内部
        /// </summary>
        public class BattleEnd : Event_Unit { }


        public class Death : Event_Unit { }

        public class Spawn : Event_Unit { }

        public class Move : Event_Unit
        {
            public readonly VBattleCell SourceCell;
            public readonly VBattleCell DestinationCell;

            public Move(VBattleCell sourceCell, VBattleCell destinationCell)
            {
                SourceCell      = sourceCell;
                DestinationCell = destinationCell;
            }
        }
    }
}